#include"process.h"
#include<stdio.h>

double speed = 1.0;
double total = 1024.0;

void DownLoad() 
{ 
  double current = 0;
  while(current <= total)
  {
    FFlushProcess(current, total);
    usleep(3000);   //下载的数据 
    current += speed;
  }
  printf("\ndownload %.2lfMB Done\n", current);

}

int main()
{
  //DownLoad();
  prcess_v1();
  return 0;
}
